package org.hqs.queueno;

import org.hqs.feign.clients.ArrangementClient;
import org.hqs.feign.clients.DepartmentClient;
import org.hqs.feign.clients.PatientClient;
import org.hqs.feign.config.DefaultFeignConfiguration;
import org.hqs.queueno.pojo.QueueNo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("org.hqs.queueno.mapper")
@SpringBootApplication
@EnableFeignClients(clients = {PatientClient.class, ArrangementClient.class},defaultConfiguration = DefaultFeignConfiguration.class)
public class QueueNoApplication {
    public static void main(String[] args) {
        SpringApplication.run(QueueNoApplication.class, args);
    }
}
